package org.pook.address.handler;

import java.util.List;

public interface JpaHandler{

	public<T>T findById(Class<T> clazz,long id);
	public<T>List<T> findByNameQuery(String name);
	public<T>Long insert(T o);
	public<T>boolean update(T o);
	public<T>boolean delete(T o);
	public<T>boolean deleteById(Class<T> clazz,long id);
	public<T>void evict(T o);
	
}